{include file="header.html"}
<script type="text/javascript">
$(function(){
    $('#start_time').datepicker({dateFormat: 'yy-mm-dd'});
    $('#end_time').datepicker({dateFormat: 'yy-mm-dd'});
});
</script>
<div id="rightTop">
    <p>站内信列表</p>
    <ul class="subnav">
        <li><span>{$lang.manage}</span></li>
        <li><a class="btn1" href="index.php?app=chatlog&amp;act=add">{$lang.add}</a></li>
    </ul>
</div>

<div class="tdare">
    <table width="100%" cellspacing="0" class="dataTable">
        <!--{if $coupon_list}-->
        <tr class="tatr1">
            <td width="20" class="firstCell"><input type="checkbox" class="checkall" /></td>
            <td class="table-center"><span fieldname="store_name">发送人手机号</span></td>
            <td class="table-center"><span fieldname="coupon_value">发送人昵称</span></td>
            <td class="table-center"><span fieldname="min_amount">发送内容</span></td>
            <td class="table-center"><span ectype="order_by">发送时间</span></td>
            <td class="handler">状态</td>
        </tr>
        <!--{/if}-->
        <!--{foreach from=$coupon_list item=coupon}-->
        <tr class="tatr2">
            <td class="firstCell"><input type="checkbox" class="checkitem" value="{$coupon.logid}" /></td>
            <td class="table-center">{$coupon.phone_mob|escape}</td>

            <td class="table-center">{$coupon.user_name|escape}</td>
            <td class="table-center">{$coupon.sendcontent}</td>
            <td class="table-center">{$coupon.sendtime|date:complete}</td>
            <td class="handler">
               <!--{if $coupon.is_read eq 1}-->
                    未读
                    <!--{else}-->
                    已读
                    <!--{/if}-->
            </td>
        </tr>
        <!--{foreachelse}-->
        <tr class="no_data">
            <td colspan="12">{$lang.no_data}</td>
        </tr>
        <!--{/foreach}-->
    </table>
    <!--{if $coupon_list}-->
    <div id="dataFuncs">
        <div class="pageLinks">{include file=page.bottom.html}</div>
    </div>
    <div class="clear"></div>
    <!--{/if}-->

</div>
{include file="footer.html"}